package com.zxcl.service;

import com.zxcl.domain.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;



public interface SysMenuService extends IService<SysMenu> {


    /**
     * 根据用户ID查询用户的菜单
     *
     * @param userId
     * @return
     */
    List<SysMenu> findUserMenus(Long userId);


    /**
     * 加载菜单
     * @return
     */
    List<SysMenu> loadSysMenuList();
}
